import axios from "axios";

export function getcart() {
    const request = axios({
        url: "http://192.168.40.177:8008/api/cart/list",
        method: "GET",
    })
    return request
}
export function delCart(data) {
    const request=axios({
        url: 'http://192.168.40.177:8008/api//cart/del',
        method: 'POST',
        data
    })
    return request
}